﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class BtreeOpenFlag
    {
        /* The flags parameter to sqlite3BtreeOpen can be the bitwise or of the
** following values.
**
** NOTE:  These values must match the corresponding PAGER_ values in
** pager.h.
*/
        public const int BTREE_OMIT_JOURNAL = 1; /* Do not use journal.  No argument */
        public const int BTREE_NO_READLOCK = 2; /* Omit readlocks on readonly files */
        public const int BTREE_MEMORY = 4; /* In-memory DB.  No argument */
        public const int BTREE_READONLY = 8; /* Open the database in read-only mode */
        public const int BTREE_READWRITE = 16; /* Open for both reading and writing */
        public const int BTREE_CREATE = 32; /* Create the database if it does not exist */
    }
}
